package parrot.defaultConstructor;

//start extract ParrotUser
public class ParrotUser {
    static public void main( String[] args ) 
	    throws ClassNotFoundException, 
		   InstantiationException,
		   IllegalAccessException{ 
	Class parrotClass = Class.forName( "ParrotImpl1" );
	Parrot polly = (Parrot)parrotClass.newInstance();
	polly.initialize( "Polly" );
	// Parrot object may now be used
    }
}
//stop extract ParrotUser

// how does one ensure that the object is properly initialized?
